﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Member.DbAccess
{
    public class MemberDataAccess
    {
        public DataSet QueryByName(string name)
        {
            return new DbHelper().Search("select * from Member where Name = @name", new SqlParameter("@name", SqlDbType.NVarChar, 50) {Value = name});
        } 

        

    }
}
